package org.begincode.core.mapper;

import java.util.List;
import org.begincode.core.model.Resource;
import org.begincode.core.paginator.domain.PageList;

public abstract interface ResourceMapper
{
    public abstract int deleteByPrimaryKey(Integer paramInteger);

    public abstract int insert(Resource paramResource);

    public abstract int insertSelective(Resource paramResource);

    public abstract Resource selectByPrimaryKey(Integer paramInteger);

    public abstract int updateByPrimaryKeySelective(Resource paramResource);

    public abstract int updateByPrimaryKeyWithBLOBs(Resource paramResource);

    public abstract int updateByPrimaryKey(Resource paramResource);

    public abstract PageList<Resource> selectBySelective(Resource paramResource);

    public abstract PageList<Resource> selectAll();

    public abstract int updateAddCountById(Resource paramResource);

    public abstract int batchUpdateAddCountById(List<Resource> paramList);
}